﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;

namespace HttpLogger
{
    public class SqlConnectionFactory
    {
        private string _connectionString;

        public SqlConnectionFactory(string connectionString) 
        {
            _connectionString = connectionString;
        }

        public virtual SqlConnection CreateConnection()
        {
            return new SqlConnection(_connectionString);
        }
    }
}